package org.argus.job.server.gateway.sample;


import org.argus.job.server.gateway.core.config.JobServerLoadBalancingConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClients;

@SpringBootApplication(scanBasePackages = "org.argus.job.server.gateway")
@EnableDiscoveryClient
@LoadBalancerClients(defaultConfiguration = JobServerLoadBalancingConfiguration.class)
public class ArgusJobServerGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(ArgusJobServerGatewayApplication.class, args);
    }
}